package com.ktjy.ch15.service;

import com.ktjy.ch15.entity.StorageRecord;
import com.ktjy.ch15.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordService {
    public Page<StorageRecord> findPage(StorageRecord storageRecord, Integer pageNo, Integer pageSize);

    public boolean save(StorageRecord storageRecord);

    public StorageRecord findById(Long id);

    public boolean update(StorageRecord storageRecord);

    public boolean delete(Long id);

    public StorageRecord findBySrCode(@Param("srCode") String srCode);
}
